package me.jzn.alib.custom.uri;

import android.net.Uri;

import androidx.annotation.NonNull;

public class CommUri implements BaseCustomUri {
    private Uri mUri;

    public CommUri(String uri) {
        mUri = Uri.parse(uri);
    }

    public CommUri(Uri uri) {
        mUri = uri;
    }

    public Uri getUri() {
        return mUri;
    }

    @NonNull
    @Override
    public String toString() {
        return mUri.toString();
    }

    @Override
    public String getScheme() {
        return mUri.getScheme();
    }
}
